﻿<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/Site.Master" CodeFile="ContactUs.aspx.cs" Inherits="ContactUs" Title="npljobs.com || Contact Us" %>

<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="Server">
    <asp:UpdatePanel runat="server" ID="upWholePage">
        <ContentTemplate>
            <div class="row top-margin">
                <div class="panel panel-default">
                    <!-- Panel Header Here-->
                    <div class="panel-heading orange-gradiant">
                        <h3 class="panel-title text-center">Contact Us</h3>
                    </div>
                    <div class="panel-body">
                        <div class="row form-row row-extra">
                            <div class="form-body period application-req">
                                <div class="contact-us-block">
                                    <label class="control-label">
                                        Your Full Name <small>*</small></label>
                                    <div class="col-md-9 control-box">
                                        <asp:TextBox ID="txtFullName" CssClass="TextBoxStyle form-control" runat="server" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFullName" SetFocusOnError="true"
                                            ErrorMessage="Full Name is required." Text="*"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="contact-us-block">
                                    <label class="control-label">
                                        Email Address <small>*</small></label>
                                    <div class="col-md-9 control-box">
                                        <asp:TextBox ID="txtEmailAddress" CssClass="TextBoxStyle form-control" runat="server" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtEmailAddress" SetFocusOnError="true"
                                            ErrorMessage="Email Address is required." Text="*"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="contact-us-block">
                                    <label class="control-label">
                                        Message <small>*</small></label>
                                    <div class="col-md-9 control-box">
                                        <asp:TextBox ID="txtMessage" CssClass="TextBoxStyle form-control" runat="server" TextMode="MultiLine" Rows="4" Columns="10" />
                                        <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtMessage" SetFocusOnError="true"
                                            ErrorMessage="Message is required." Text="*"></asp:RequiredFieldValidator>
                                    </div>
                                </div>
                                <div class="contact-us-block">
                                    <div style="float: right; margin-right: 10px;">
                                        <span class="float-shadow">
                                            <asp:Button ID="btnSubmit" CssClass="btn btn-primary orange-gradiant float-shadow" runat="server" Text="Send" OnClick="btnSubmit_Click" />
                                        </span>
                                    </div>
                                </div>
                                <div class="contact-us-block row-centered">
                                    <asp:Label ID="lblMsg" runat="server" ForeColor="Green" Font-Bold="true" Visible="false"></asp:Label>
                                    <asp:ValidationSummary ID="ValidationSummary1" runat="server" HeaderText="<b>Invalid inputs</b>"
                                        ShowMessageBox="false" DisplayMode="BulletList" ShowSummary="true" />
                                </div>
                            </div>

                        </div>
                    </div>
                </div>
            </div>
        </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
